package org.csu.mypetstoreback.persistence;

import org.csu.mypetstoreback.domain.Manager;
import org.springframework.stereotype.Repository;

@Repository

public interface ManagerMapper {
    Manager getManagerByUsername(String username);

    Manager getManagerByUsernameAndPassword(Manager manager);

    Manager getManagerByPhone(String phone);

    void insertManager(Manager manager);

    void updateManager(Manager manager);
//找回密码
    String findPassword(String email);
}
